package fr.utbm.gl52.smartgrid.util;

import java.util.Map;
import java.util.UUID;

import fr.utbm.gl52.smartgrid.util.properties.Properties;

public class PropertiesBuffer {

	private static UUID deviceID;
	private static Map<String, Properties<?>> properties;

	public static UUID getDeviceID() {
		return deviceID;
	}

	public static void setDeviceID(UUID deviceID) {
		PropertiesBuffer.deviceID = deviceID;
	}

	public static Map<String, Properties<?>> getProperties() {
		return properties;
	}

	public static void setProperties(Map<String, Properties<?>> properties) {
		PropertiesBuffer.properties = properties;
	}

	public static void reset() {
		properties.clear();
		deviceID = null;
	}
}
